{extend name="public/base"}
{block name="title"}{$site_title}{/block}
{block name="css"}
<style type="text/css">
   html,body{ background:#fff}
</style>
{/block}
{block name="body"}
<div class="cartoonWapper cartoonflex">
    <a href="javascript:;" class="active">搜索结果</a>
</div>


<div class="cartoonRecommend" style="margin:45px auto auto auto">
     <div class="recommendList">

         {if $list == ''}
         <div class="recommendList">
             <div class="searchTs">
                 <img src="/static/index/images/searchBg.png" alt=""><p>抱歉亲亲～</p><p>没有相关内容</p>
             </div>
             <div class="promptly" style="margin: 10% auto"><a href="/index/Book/novel.html" class="ripple">去找几本小说看看</a></div>
         </div>
         {else /}
         <ul>
             {foreach $list as $key=>$vo }
             <li>
                 <div class="recommendPos">
                     <div class="recommendHotImg">
                         <a href="/index/book/info.html?book_id={$vo.id}">
                             <img src="{$vo.cover}" alt="">
                         </a>
                     </div>
                     <div class="recommendFont">
                         <h4 class="over"><a href="/index/book/info.html?book_id={$vo.id}">{$vo.name}</a></h4>
                         <p class="over2 read_p"><a href="/index/book/info.html?book_id={$vo.id}"></a></p>
                         <div class="historyNumber">
                             <a href="/index/book/info.html?book_id={$vo.id}" class="readStar ripple">开始阅读</a>
                         </div>
                     </div>
                 </div>
             </li>
             {/foreach}
         </ul>
         {/if}
     </div>
</div>
{/block}
{block name="footJs"}
{/block}
